package com.tao.graduation.Service;

import com.tao.graduation.Pojo.Appointment;
import com.tao.graduation.Pojo.Doctor;
import com.tao.graduation.Pojo.Hospitalization;
import com.tao.graduation.Pojo.Seek;

import java.util.List;
import java.util.Map;

public interface DoctorService {
    public Doctor queryDoctorById(Integer id);
    public List<Map<Object,Object>> queryCurrentAppointment(Integer doctorId, String today,Integer index,Integer LIMIT);

    int queryPatientIdByCertId(String certId);

    int insertSeek(Seek seek);

    int Prescribe(String drugs,String days,Integer patientId);

    int insertHospitalization(Hospitalization hospitalization);

    int SuccessSeek(Integer patientId,Integer doctorId,String state,String days);

    List<Map<Object,Object>> querySeekJiLu(Integer doctorId,Integer index,Integer LIMIT);

    int querySeekJiLuCount(Integer doctorId);

    List<Map<Object,Object>> searchJiLu(Integer patientId);
}
